package com.eastfair.venueservice.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 实体类
 * 服务价目信息明细表
 * </p>
 *
 * @author linan
 * @since 2022-07-21
 */
@Data
@ApiModel(value = "ServicePriceListDetailVO", description = "服务价目信息明细表")
public class ServicePriceListDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 服务价目信息表id
     */
    @ApiModelProperty(value = "服务价目信息表id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long servicePriceId;
    /**
     * 服务明细表id
     */
    @ApiModelProperty(value = "服务明细表id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long serviceItemId;
    /**
     * 服务单价
     */
    @ApiModelProperty(value = "服务单价")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal unitPrice;
    /**
     * 服务成本
     */
    @ApiModelProperty(value = "服务成本")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal costPrice;
    /**
     * 附加费
     */
    @ApiModelProperty(value = "附加费")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal surcharge;
    /**
     * 税率
     */
    @ApiModelProperty(value = "税率")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal taxRate;
    /**
     * 展前折扣
     */
    @ApiModelProperty(value = "展前折扣")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal preExhibitionDiscount;
    /**
     * 现场折扣
     */
    @ApiModelProperty(value = "现场折扣")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private BigDecimal onSiteDiscount;

    /**
     * 库存编码
     */
    @ApiModelProperty(value = "库存编码")
    private String inventoryCode;

    /**
     * 服务分类
     */
    @ApiModelProperty(value = "服务分类ID")
    private Long serviceCategoryId;

    /**
     * 服务分类
     */
    @ApiModelProperty(value = "服务分类")
    private String serviceCategoryName;

    /**
     * 服务规格ID
     */
    @ApiModelProperty(value = "服务规格ID")
    private Long serviceSpecsId;

    /**
     * 服务规格
     */
    @ApiModelProperty(value = "服务规格")
    private String serviceSpecsName;

    /**
     * 服务预警值
     */
    @ApiModelProperty(value = "服务预警值")
    private BigDecimal earlyWarningValue;

    /**
     * 服务库存
     */
    @ApiModelProperty(value = "服务库存")
    private BigDecimal inventoryNum;

    /**
     * 服务明细表id
     */
    @ApiModelProperty(value = "服务明细表id")
    private Long serviceItemDetailId;

}
